home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Internet
/
Collection of Internet.iso
/
infosrvr
/
dev
/
www_talk.930
/
001244_daemon _Wed Jun 9 15:55:06 1993.msg
< prev
next >
Wrap
Internet Message Format
|
1994-01-24
|
3KB
Received: by nxoc01.cern.ch (NeXT-1.0 (From Sendmail 5.52)/NeXT-2.0)
id AA26696; Wed, 9 Jun 93 15:55:09 MET DST
Return-Path: <cshotton@oac.hsc.uth.tmc.edu>
Received: from dxmint.cern.ch by nxoc01.cern.ch (NeXT-1.0 (From Sendmail 5.52)/NeXT-2.0)
id AA26692; Wed, 9 Jun 93 15:55:06 MET DST
Received: from oac.hsc.uth.tmc.edu by dxmint.cern.ch (5.65/DEC-Ultrix/4.3)
id AA27411; Wed, 9 Jun 1993 16:17:01 +0200
Message-Id: <9306091417.AA27411@dxmint.cern.ch>
Received: from oac2.hsc.uth.tmc.edu by oac.hsc.uth.tmc.edu with SMTP
(1.37.109.4/16.2) id AA15117; Wed, 9 Jun 93 09:12:27 -0500
Date: Wed, 9 Jun 1993 09:20:30 -0600
To: www-talk@nxoc01.cern.ch
From: cshotton@oac.hsc.uth.tmc.edu (Chuck Shotton)
Subject: Building XMosaic 1.1 on HP/UX 9.0
Here are a few observations about building XMosaic 1.1 on HP/UX 9.0 or 9.01
that may help speed up the process for others.
First, NO changes are required to any of the source in the XMosaic
distribution, but there are some changes needed in the Makefiles and in
some of HP/UX's locations for include files. Here's the summary:
Building libwww:
----------------
Nothing really has to change here for 9.0. Simply uncomment the appropriate
lines in the Makefile. Under 9.0, a new compiler option has been added,
"-Ae", which takes the place of "-Aa -D_HPUX_SOURCE", but libwww builds
fine the way it is.
Building libhtmlw:
------------------
This was the problem child. HP/UX 9.0 includes Motif 1.2, which needs X11R5
as well. This version of Motif quickly fills up the C Preprocessor's symbol
table, so the OTHERFLAGS variable needs to be changed as follows:
OTHERFLAGS = -W p,-H256000 -DMOTIF1_2 -I/usr/include/Motif1.2 \
-I/usr/include/X11R5
The "-W p, -H256000" passes the "-H" option through to the C preprocessor,
allocating more space in the symbol table.
The X11R5/Motif 1.2 combination also eliminates the X11/Xmu directory from
the include tree. I found that it was necessary to create a symbolic link
in the /usr/include/X11R5/X11 directory named Xmu that was linked to
/usr/include/X11R4/X11/Xmu. This got things to build, but it seems like it
shouldn't be necessary. If someone knows a better way to get this to work,
please let me know.
Building xmosaic:
-----------------
Only 2 lines needed changing for HP/UX in the Makefile to get xmosaic to
build. The CFLAGS line is changed to:
CC = cc -Aa -D_HPUX_SOURCE -I/usr/include/Motif1.2 -I/usr/include/X11R5
The X_LIBS line is changed to:
X_LIBS = -L/usr/lib/Motif1.2 -lXm -L/usr/lib/X11R5 -L/usr/lib/X11R4 -lXmu \
-lXt -lX11
--_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_\_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Chuck Shotton \
Assistant Director, Academic Computing \ "Are we there yet?"
U. of Texas Health Science Center Houston \
cshotton@oac.hsc.uth.tmc.edu (713) 794-5650 \
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-\-_-_-_-_-_-_-_-_-_-_-_-_-